package blogger.client.async;

import blogger.client.model.entity.Message;
import blogger.client.model.entity.User;

import java.util.List;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Created by IntelliJ IDEA.
 * User: mega
 * Date: 05.01.2010
 * Time: 23:49:56
 * To change this template use File | Settings | File Templates.
 */
public class GetTwitsResponse implements Response, IsSerializable{
    private List<Message> messages = null;
    private List<User> users = null;

    public GetTwitsResponse(List<Message> messages, List<User> users) {
        this.messages = messages;
        this.users = users;
    }

    public GetTwitsResponse() {
    }

    public List<Message> getMessages() {
        return messages;
    }

    public List<User> getUsers() {
        return users;
    }
}
